FROM eclipse-temurin:17-jre-alpine

LABEL authors="32795"

ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

ENV LANG=zh_CN.UTF-8
ENV LANGUAGE=zh_CN:zh
ENV LC_ALL=zh_CN.UTF-8

ADD target/eureka-server.jar app.jar
EXPOSE 80


ENTRYPOINT ["java","-jar","app.jar"]